package com.bosssoft.service_order.service.impl;

import com.bosssoft.service_order.domain.po.CompanyAddress;
import com.bosssoft.service_order.domain.po.CompanyAddressExample;
import com.bosssoft.service_order.mapper.CompanyAddressMapper;
import com.bosssoft.service_order.service.CompanyAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 收货地址管理Service实现类
 */
@Service
public class CompanyAddressServiceImpl implements CompanyAddressService {
    @Autowired
    private CompanyAddressMapper companyAddressMapper;
    @Override
    public List<CompanyAddress> list() {
        return companyAddressMapper.selectByExample(new CompanyAddressExample());
    }
}
